#include "HeartRatePage.h"
#include "AppRouter.h"
#include "PageMgr.h"

REGISTER_PAGE("Pages/HeartRate", HeartRatePage)

void HeartRatePage::OnViewLoad() {
	m_view.Create(m_body);
}

void HeartRatePage::OnScrSlideRight() {
	GoTo("Pages/Map", anim_type_em::LOAD_ANIM_MOVE_RIGHT);
}
void HeartRatePage::OnScrSlideLeft() {
	GoTo("Pages/Navigate", anim_type_em::LOAD_ANIM_MOVE_LEFT);
}